BlueOnyx 5210R/5211R: YUM updates released

Posted by: mstauber Category: General

YUM updates that change the handling of PHP-FPM have been released.

PHP-FPM handling change:

Until today the PHP-FPM implementation on BlueOnyx 5210R/5211R used TCP/IP via 127.0.0.1:<random-port> for the communication between Apache and the PHP-FPM pools of Vsites. However, this turned out to be more hassle than it was worth. On servers with many Vsites with PHP-FPM even our tweaked and optimized routine for finding free ports was not working reliable enough. It worked most of the time, but the few cases where it didn't left users without immediate remedy. That's not good enough and we can do better. So we did.

We just published updated base-apache-* and base-subdomain-* RPMs for BlueOnyx 5210R/5211R which switch PHP-FPM over to Unix sockets. Means: If PHP-FPM is enabled for a Vsite, then it no longer needs a free TCP port for that. Instead a Unix socket is created under /home/sites/<FQDN>/wwwroot/<siteX>.sock and that is then used for the same purpose. This is also slightly (barely noticeable) faster, as the communication doesn't have to take a round-trip through the TCP/IP stack.

When you get the YUM updates, existing Vsites with PHP-FPM enabled will still use the "old" style configuration until the next time that you save the PHP settings for them.

If you want to convert all Vsites to the new style after the YUM update you can run this command as "root" from the shell:

/usr/sausalito/sbin/phptoggle.pl -fpm

That will walk through all Vsites that have PHP-FPM enabled and will update the PHP settings of them, forcing an immediate conversion.

BlueOnyx 5210R: Postfix update

A new blueonyx-postfix RPM has been released for BlueOnyx 5210R. This combines the latest "upstream" Postfix of AlmaLinux 8.10 with our custom Sendmail-to-Postfix conversion script.


Return
General
Nov 24, 2024 Category: General Posted by: mstauber
Previous page: Development Next page: Mailing List